package com.huike.mapper;

import com.huike.pojo.Doctor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DoctorMapper {
     List<Doctor> findDoctorAll();

    Doctor getDoctorById(Integer id);

    List<Doctor> findDoctorAllPagination(@Param("id") Integer id,@Param("doctorName") String doctorName,@Param("deptName") String deptName);

    Doctor findDoctorById(Integer id);

    void updateForDoctor(Doctor doctor);

    void addDoctor(Doctor doctor);

    List<Doctor> findDoctorAllPaginationForExcel(@Param("id") Integer id,@Param("doctorName") String doctorName,@Param("deptName") String deptName);

    List<Doctor> getDoctorByDept(Integer department);

}
